import { post, get } from './request';
import type { SeriesModel } from '@/model/seriesmodel';

export const listSeries = () => {
  return post<SeriesModel>('Series/List', {});
};
export const saveSeries = (data: string) => {
  return post<SeriesModel>('Series/BatchSave', { names: data });
};
export const disableSeries = (pk: string) => {
  return get<SeriesModel>('Series/Disable', { pk: pk });
};
